/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package object;

/**
 *
 * @author Le Thai
 */
public class Student extends Human {

    private String curentClass;

    public Student() {
        super();
        curentClass = "";
    }

    public Student(int id, String lastName, String firstName, boolean gender,
            String dayOfBirth, String homeAddress, String curentClass) {

        super(id, lastName, firstName, gender, dayOfBirth, homeAddress);
        this.curentClass = curentClass;
    }

    /**
     * @return the curentClass
     */
    public String getCurentClass() {
        return curentClass;
    }


    public String toString(){
        String st="";
        st+=id+" "+lastName+" "+firstName+" "+gender+" "+dayOfBirth+" "+homeAddress+" "+curentClass;
        return st;
    }
    /**
     * @param curentClass the curentClass to set
     */
    public void setCurentClass(String curentClass) {
        this.curentClass = curentClass;
    }

    /**
     * @return the marks
     */

}
